home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-04-14 | 1.6 KB | 47 lines | [TEXT/MPCC] |
- //----------------------------------------------------------------------------------------
- // Extensions protocol
- //----------------------------------------------------------------------------------------
-
- #ifndef _CREDITNOWDEMO_
- #include "CPCreditNowDemo.h"
- #endif
-
- //----------------------------------------------------------------------------------------
-
- ODBoolean CPCreditNowDemo::HasExtension(Environment* ev, ODType extensionName)
- {
- // CodeWarrior: Cmd-Click or Search:Find Definition • Explain_HasExtension
- EnteringMethod("\pCPCreditNowDemo::HasExtension");
- ODUnused(extensionName);
-
- return kODFalse;
- // No extension until you implement one for your part.
- }
-
- //----------------------------------------------------------------------------------------
-
- ODExtension* CPCreditNowDemo::GetExtension(Environment* ev, ODType extensionName)
- {
- // CodeWarrior: Cmd-Click or Search:Find Definition • Explain_GetExtension
- EnteringMethod("\pCPCreditNowDemo::GetExtension");
- ODUnused(extensionName);
-
- DebugStr("\pUntil the part implements extension support, this should not get called.");
-
- ev->_major = kODErrUnsupportedExtension;
- // If we are called with an extension type we don't support,
- // we should be returning an error here.
-
- return kODNULL;
- }
-
- //----------------------------------------------------------------------------------------
-
- void CPCreditNowDemo::ReleaseExtension(Environment* ev, ODExtension* extension)
- {
- // CodeWarrior: Cmd-Click or Search:Find Definition • Explain_ReleaseExtension
- EnteringMethod("\pCPCreditNowDemo::ReleaseExtension");
- ODUnused(extension);
- }
-
-